package com.shitou.shitouproduct;


import com.shitou.shitoucommons.opfeign.MemberFeign;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableDiscoveryClient
@SpringBootApplication
@EnableScheduling   // 启用定时任务
@EnableFeignClients(basePackageClasses = {MemberFeign.class})
public class ShitouProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShitouProductApplication.class, args);
    }

}
